/*
 * @Author: Janssen000908 2601566046@qq.com
 * @Date: 2025-03-31 14:39:03
 * @LastEditors: Janssen000908 2601566046@qq.com
 * @LastEditTime: 2025-03-31 16:23:27
 * @FilePath: /linux_-demo/learn27/pipe_use/Task.hpp
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
//hpp后缀：声明与实现写在一起

#pragma once
#include <iostream>
//#include <functional>
#include <vector>

using namespace std;

typedef void (*task_t)();//函数指针

void task1()
{
    cout << "刷新日志" <<endl;
}

void task2()
{
    cout << "更新" <<endl;
}

void task3()
{
    cout << "检测是否更新" << endl;
} 

void task4()
{
    cout << "释放技能更新"<<endl;
}

void LoadTask(vector<task_t>* tasks)
{
    tasks->push_back(task1);
    tasks->push_back(task2);
    tasks->push_back(task3);
    tasks->push_back(task4);
}
//任务列表
